package com.example.movie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.movie.domain.Comment;
import com.example.movie.domain.R;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
* @author HuRan
* @description 针对表【comment(评论表，用于存储用户对电影的评论信息)】的数据库操作Service
* @createDate 2024-10-24 11:09:25
*/
public interface CommentService extends IService<Comment> {

    List<Comment> getCommentsByMId(Long mId);

    List<Comment> getComments(Integer movieId, Long currentPage,Long pageSize);
}
